package com.whxy02.tolearn.app.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;



/**
 * 科目表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_subject")
public class Subject {
    @TableId(value = "subject_id",type = IdType.AUTO)
    private Integer subjectId;
    private String subjectName;
    private Integer totalQuestion=0;
    private String subjectImage="/images/subjectDefault.jpg";
}
